package pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Task entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Task implements java.io.Serializable {

	// Fields

	private Integer tkid;
	private Persion persion;
	private Messagetype messagetype;
	private Block block;
	private String tkname;
	private String tkcontent;
	private String tkfile;
	private Byte tksendType;
	private Date tksendTime;
	private String tksendUser;
	private String tksendmethod;
	private Date tkendTime;
	private Set taskresults = new HashSet(0);

	// Constructors

	/** default constructor */
	public Task() {
	}

	/** full constructor */
	public Task(Persion persion, Messagetype messagetype, Block block,
			String tkname, String tkcontent, String tkfile, Byte tksendType,
			Date tksendTime, String tksendUser, Set taskresults) {
		this.persion = persion;
		this.messagetype = messagetype;
		this.block = block;
		this.tkname = tkname;
		this.tkcontent = tkcontent;
		this.tkfile = tkfile;
		this.tksendType = tksendType;
		this.tksendTime = tksendTime;
		this.tksendUser = tksendUser;
		this.taskresults = taskresults;
	}

	// Property accessors

	public Integer getTkid() {
		return this.tkid;
	}

	public void setTkid(Integer tkid) {
		this.tkid = tkid;
	}

	public Persion getPersion() {
		return this.persion;
	}

	public void setPersion(Persion persion) {
		this.persion = persion;
	}

	public Messagetype getMessagetype() {
		return this.messagetype;
	}

	public void setMessagetype(Messagetype messagetype) {
		this.messagetype = messagetype;
	}

	public Block getBlock() {
		return this.block;
	}

	public void setBlock(Block block) {
		this.block = block;
	}

	public String getTkname() {
		return this.tkname;
	}

	public void setTkname(String tkname) {
		this.tkname = tkname;
	}

	public String getTkcontent() {
		return this.tkcontent;
	}

	public void setTkcontent(String tkcontent) {
		this.tkcontent = tkcontent;
	}

	public String getTkfile() {
		return this.tkfile;
	}

	public void setTkfile(String tkfile) {
		this.tkfile = tkfile;
	}

	public Byte getTksendType() {
		return this.tksendType;
	}

	public void setTksendType(Byte tksendType) {
		this.tksendType = tksendType;
	}

	public Date getTksendTime() {
		return this.tksendTime;
	}

	public void setTksendTime(Date tksendTime) {
		this.tksendTime = tksendTime;
	}

	public String getTksendUser() {
		return this.tksendUser;
	}

	public void setTksendUser(String tksendUser) {
		this.tksendUser = tksendUser;
	}

	public Set getTaskresults() {
		return this.taskresults;
	}

	public void setTaskresults(Set taskresults) {
		this.taskresults = taskresults;
	}



	public String getTksendmethod() {
		return tksendmethod;
	}

	public void setTksendmethod(String tksendmethod) {
		this.tksendmethod = tksendmethod;
	}

	public Date getTkendTime() {
		return tkendTime;
	}

	public void setTkendTime(Date tkendTime) {
		this.tkendTime = tkendTime;
	}

}